import React from 'react';
import styles from './css/nav.module.css'
const Musicitem = (props) => {
    
    return (
        <div >
            <img className={styles.img} src={props.data.coverImgUrl?props.data.coverImgUrl:props.data.picUrl} alt="" />
            <div className={styles.text}>{props.data.name}</div>
        </div>
    );
}

export default Musicitem;
